package com.shengyin.ec.model.dao.alliance;

import java.util.List;

import com.shengyin.ec.model.dao.BaseDao;
import com.shengyin.ec.model.entity.Company;

public interface AllianceDao extends BaseDao<Company> {
	/*
	 * ����δ�����ҵ
	 * */
	public List<Company> getCompanyVerifyNot();
	 /* �����������ҵ
	 * */
	public List<Company> getCompanyOfverifyed();
	
	/*
	 * ������˲�ͨ����ҵ
	 * */
	public List<Company> getCompanyVerifyFail();
	
	/*
	 * ����Ա�����ҵ
	 * */
	public List<Company> verifyCompany(int status);
	
	public List<Company> getCompanyList(int status);
	
	//add by lcl 2012-3-29
	boolean checkCompanyUser(String username, String pwd);
	
	List<Company> getCompanyByName(String username);
	
	//add by wql 2012-3-20
	public List<Company> getCompanyList(int offset,int pagesize);
	public List<Company> getCompany(int status,int offset,int pagesize);
	public Long getTotal();
	public void deleteSelectedAlliance(Long[] ids);
	
	public void updateAlliance(Company company);
	public List<Company> getCompanyListByCity();
	public List<Company> getCompanyListByNature();
	public List<Company> getCompanyListByEmployee();
	public List<Company> getAllianceCompanyList();
	
	public List<Company> getCompanyListByName(String keyword,int offset,int pageSize);
	public List<Company> getCompanyListByName(String keyword);
}
